package com.web44.bean;

import lombok.*;

/**
 * @Title: User
 * @Description:
 * @Auther: py
 * @Version: 1.0
 * @create 2024/1/3 9:52
 */
@Data   // get/set
@AllArgsConstructor  // 全参构造
@NoArgsConstructor  // 无参构造
@ToString  // 重写tostring
@EqualsAndHashCode // 重写hashcode 和 Equals
public class User {

    private Integer id;
    private String userName;  // 对应数据库的 user_name
    private String password;
    private Integer age;
    private String gender;
}
